import { createStore } from "vuex";

export default createStore({
  state: {
    motto: "要争气，因为心里憋着太多的不服气！",
    words: "世界这么大，我想去看看",
  },
  getters: {},
  mutations: {
    setMotto(state, val) {
      state.motto = val;o
    },
    setWords(state, val) {
      state.words = val;
    },
  },
  actions: {},
  modules: {},
});
